package com.shigen.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shigen.demo.entity.Visitors;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface VisitorsMapper extends BaseMapper<Visitors> {

  @Select("select count(distinct (murmur)) from visitors")
  int getVisitorsCount();
}
